#ifndef __LEXSYMB_H__
#define __LEXSYMB_H__

typedef union {
	char *str;
	int integer;
	int boolean;	
} YYSTYPE;
extern YYSTYPE yylval;

// constantes
enum {
	UNUSE = 257,
	FUNCTION,
	ENDFUNCTION,
	MAIN,
	VAR,
	ADD,
	MULT,
	LABEL,
	AND,
	OR,
	NOT,
	MOVE,
	IFZERO,
	IFTRUE,
	IFFALSE,
	IFGREATER,
	IFLESS,
	IFEQUAL,
	GOTO,
	CALL,
	READ,
	WRITE,
	RETURN,
	SKIP,
	RESTORE,
	SETPARAM,
	TRUE,
	FALSE,
	REF,
	VAL,
	RES,
	VALRES,
	INTEGER,
	STRING,
	BOOLEAN,
	NUMBER,
	PARAM,
	NAME,
	ERROR_TOKEN
};
#endif
